(redisplay_internal, note_mouse_highlight): Check
authorYAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp>
Sun, 18 Mar 2007 08:06:57 +0000 (08:06 +0000)
committerYAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp>
Sun, 18 Mar 2007 08:06:57 +0000 (08:06 +0000)
popup_activated for MAC_OS.

src/xdisp.c

index 544043f2747ec7a1f257720b89a6644923e63b28..c02a43d9a0c8f5049cbf96923126f765cb17a7c5 100644 (file)
@@ -10872,7 +10872,7 @@ redisplay_internal (preserve_echo_area)
        return;
     }
 
-#if defined (USE_X_TOOLKIT) || defined (USE_GTK)
+#if defined (USE_X_TOOLKIT) || defined (USE_GTK) || defined (MAC_OS)
   if (popup_activated ())
     return;
 #endif
@@ -22672,7 +22672,7 @@ note_mouse_highlight (f, x, y)
   struct buffer *b;
 
   /* When a menu is active, don't highlight because this looks odd.  */
-#if defined (USE_X_TOOLKIT) || defined (USE_GTK)
+#if defined (USE_X_TOOLKIT) || defined (USE_GTK) || defined (MAC_OS)
   if (popup_activated ())
     return;
 #endif